<?php
return array(
		'TEMP_STRIP_SPACE'=>true,
// 		'SHOW_PAGE_TRACE' => true,
		
		'DEFAULT_THEME'=>'default',
		
		'SID_COOKIE_NAME'=>'vv',//session的cookie名
		'SESSION_AUTO_START' =>false,
		'URL_MODEL'          => '1', //URL模式
		'ROOT_PATH'			=>getcwd().'/',//项目根目录，必须开启
		'WWW_PATH'			=>preg_replace('/[\w|.]*$/i', '', $_SERVER['SCRIPT_NAME']),//网站根目录，必须开启
		'TPL_PATH'			=>preg_replace('/[\w|.]*$/i', '', $_SERVER['SCRIPT_NAME']).APP_NAME."/tpl/",//模版目录
		'URL_CASE_INSENSITIVE' =>true,//兼容URL小写，开启
		'LOAD_EXT_FILE'=>'extend',//载入自定义函数库，必须开启
		
		
		'DB_CONFIG1' => array(//videovote
				'db_type'  => 'mysql',
				'db_user'  => 'root',
				'db_pwd'   => 'lijun',
				'db_host'  => 'localhost',
				'db_port'  => '3306',
				'db_name'  => 'videovote',
				'DB_PREFIX' => 'vv_', 
		),
		
		'DB_CONFIG2' => array(//bbs
				'db_type'  => 'mysql',
				'db_user'  => 'root',
				'db_pwd'   => 'lijun',
				'db_host'  => 'localhost',
				'db_port'  => '3306',
				'db_name'  => 'bbsx25',
				'DB_PREFIX' => 'pre_', 
		),
		
);
?>